package ooday01;

public class CarTest {
    public static void main(String[] args) {
        Car bm=new Car();
        bm.brand="宝马";
        bm.color="白";
        bm.price=600000;
        bm.capacity=5;
        bm.start();
        bm.run();
        bm.stop();

        Car ad =new Car();
        ad.brand="奥迪";
        ad.color="白";
        ad.price=1;
        ad.capacity=9;
        ad.start();
        ad.run();
        ad.stop();


        Car bt=new Car();
        bt.start();
        bt.run();
        bt.stop();



    }
}
